/***********************************
* Name: InterReturn.java
* Date: Oct 4, 2010
* @author martin
* Description:
***********************************/

package interCodeGen;


public class InterReturn implements Cod3Dir{
                        //id2 -> ""
                        //id3 -> ""

    private String retorno = "";  //id1
                        //id2 -> ""
                        //id3 -> ""

    /*****************************************
     * InterParam
     * constructor
     *****************************************/
    public InterReturn(String retorno){
        this.retorno = retorno;
    }
    
    /*****************************************
     * getCodeString
     * @return the complete code of the Cod3Dir
     *****************************************/
    public String getCodeString() {
        return "\t"+"return "+this.getRetorno()+"";
    }

    /*****************************************
     * @return the retorno
     *****************************************/
    public String getRetorno() {
        return retorno;
    }

}

